CREATE TABLE  "PROBA2" 
   (	"KULCS" NUMBER(24,0), 
	"ADAT" VARCHAR2(20), 
	 CONSTRAINT "PROBA2_PK" PRIMARY KEY ("KULCS") ENABLE
   )
/


CREATE OR REPLACE TRIGGER  "BI_PROBA2" 
  before insert on "PROBA2"               
  for each row  
begin   
    select "SZAMLASZAM".nextval into :NEW.KULCS from dual; 
end; 

/
ALTER TRIGGER  "BI_PROBA2" ENABLE
/


